.am-modal {
    top: 0;
    right: 0;
    bottom: -50px;
    left: 0;
    background: rgba(0,0,0,0.8);
    position:absolute;
    text-align: center;
    background: rgba(0,0,0,0.8);
}



.am-modal-no-btn .am-modal-dialog {
    border-bottom: medium none;
    border-radius: 0;
}
.am-modal-dialog {
    top:30%;
    width: 540px;
    font-size:18px;
    line-height:30px;
}
.am-modal-dialog {
    background: #f8f8f8 none repeat scroll 0 0;
    border-radius: 0;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    position: relative;
    vertical-align: middle;
    width: 270px;
}
.am-modal-hd .am-close {
    position: absolute;
    right: 4px;
    top: 4px;
}
.am-close {
    color: #000;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    opacity: 0.2;
    text-align: center;
    text-shadow: 0 1px 0 #fff;
    transition: all 0.3s ease 0s;
    width: 24px;
}